Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace > FileCache Class > AddOrGetExisting Method : AddOrGetExisting<T>(CacheItem<T>,CacheItemPolicy) Method |
public override CacheItem<T> AddOrGetExisting<T>( CacheItem<T> value, CacheItemPolicy policy )
'Declaration
Public Overloads Overrides Function AddOrGetExisting(Of T)( _ ByVal value As CacheItem(Of T), _ ByVal policy As CacheItemPolicy _ ) As CacheItem(Of T)
'Usage
Dim instance As FileCache Dim value As CacheItem(Of T) Dim policy As CacheItemPolicy Dim value As CacheItem(Of T) value = instance.AddOrGetExisting(Of T)(value, policy)
@Override
public <T> CacheItem<T> addOrGetExisting(CacheItem<T> value, Class<?> classOfT, CacheItemPolicy policy)
public: CacheItem<T^>^ AddOrGetExistinggeneric<typename T> ( CacheItem<T^>^ value, CacheItemPolicy^ policy ) override